package test.serverframe.armc.server.manager.domain.params;

import javax.validation.constraints.Min;

import io.swagger.annotations.ApiModelProperty;

/**  
* 
* @author yegui  
* @date 2018年12月15日  
*/
public class PageParams {

	@Min(value = 1, message = "pageNum必须大于0")
    @ApiModelProperty("页码")
    private int pageNum;
	
	@Min(value = 1, message = "pageSize必须大于0")
    @ApiModelProperty("数量")
    private int pageSize;

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	
}
